<?php
require_once("page.php");

//------------------------------------------------------------
// Set some values into the template engine
//------------------------------------------------------------
$eng->assign("PageTitle", "RadTemplate Engine");
$eng->assign("PageSubTitle", "Example 2 - Using Substitution");
$eng->assign("UserFName", "Joe");
$eng->assign("UserLName", "Client");
$eng->assign("PageDate", "<b>" . date_format(new DateTime(NULL, new DateTimeZone("Pacific/Nauru")), "Y-m-d H:i:s") . "</b>");
$eng->assign("PageTime", "<b>" . date_format(new DateTime(NULL, new DateTimeZone("Pacific/Nauru")), "H:i:s") . "</b>");

//------------------------------------------------------------
// Load the template and Generate Ouput
//------------------------------------------------------------
$eng->show("tpl/test02.html");
?>